<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <script type="text/javascript" src="lib/jquery-1.4.4.min.js"></script>
</head>
<body>
    <div id="asdd"></div>
</body>
<script type="text/javascript">
    var maxPenalty = 12;
    $("#asdd").html(`
        <h1>注意！</h1>
        <p>台风天气不要外出，告警持续时间
        将近${maxPenalty}小时。</p>
    `);
</script>    
</html>